"use client";

import {
  IconCode,
  IconPacman,
  IconBrandGithub,
  IconUsersGroup,
  IconMessageCircleQuestion,
} from "@tabler/icons-react";
import {IpdShellContent} from "@/components/IpdShell/IpdShellContent/IpdShellContent";

const subHeader = {
  zh: "关于平台",
  en: "About IP Designer",
  base: "/ipdv2/about-us",
  nav: [
    {label: "开发进度", link: "dev-progress", icon: IconCode},
    {label: "发行日志", link: "releases-notes", icon: IconPacman},
    {label: "开源基础", link: "open-source", icon: IconBrandGithub},
    {label: "项目成员", link: "team-members", icon: IconUsersGroup},
    {label: "联系我们", link: "contact-us", icon: IconMessageCircleQuestion},
  ],
};

export default function Layout({children}: {children: React.ReactNode}) {
  return <IpdShellContent subHeader={subHeader}>{children}</IpdShellContent>;
}
